/*
 * TextFile.h
 *
 *  Created on: 16 nov. 2010
 *      Author: seeme
 *      Un simple fichier texte.
 */

#ifndef TEXTFILE_H_
#define TEXTFILE_H_

#include "../Resource.h"
#include <sstream>
#include <fstream>

class TextFile: public Resource {
public:
	void display(std::string a, std::string b, std::string c);

	size_t getSize();

	bool create();
	void destroy();

	TextFile(std::string fileName, std::string file);
	virtual ~TextFile();

private:
	std::stringstream m_data;
};

#endif /* TEXTFILE_H_ */
